﻿using Architecture.Domain.Dto.MenuRoleDto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain.Service.MenuRoleServices
{
    /// <summary>
    /// 菜单角色服务接口
    /// </summary>
    public interface IMenuRoleService
    {
        /// <summary>
        /// 添加菜单角色
        /// </summary>
        /// <param name="addMenuRole">用户角色信息</param>
        /// <returns>返回受影响的行数</returns>
        Task<int> AddMenuRole(AddMenuRole addMenuRole);

        /// <summary>
        /// 反填菜单角色MId
        /// </summary>
        /// <returns>返回菜单角色MId列表</returns>
        Task<List<MenuRoleGetIdDto>> GetMenuRoleMId(string roleId);
    }
}
